Component({
  data: {},
  properties: {
    styles: String,
    goodsid: String,
  },
  lifetimes: {
    attached: async function () {},
    detached: function () {
      // 在组件实例被从页面节点树移除时执行
    },
  },
  methods: {
    eventHandler(e) {
      console.log(e);
    },
  },
});
